public class Automobile{
    private String brand;
    private String plateNumber;
    //无参构造器
    public Automobile(){
    }
    //全参构造器
    public Automobile(String brand, String plateNumber) {
        this.brand = brand;
        this.plateNumber = plateNumber;
    }
    //get/set方法
    public String getBrand() {
        return brand;
    }

    public String getPlateNumber() {
        return plateNumber;
    }

    // 计算租金的抽象方法
    public double getRent() {
        return 0;
    }
}
